Part Number Hot Search : 
T211029 19TR1A24 222M35 00LVEL FAN8082D MAX1501 NJU73 P50B60PD
Product Description
Full Text Search
 

To Download FRDM-KL46Z Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  freescale semiconductor inc. microcontroller solutions group frdm - kl46z users manual frdm - kl46z - um rev. 1. 0
freescale semiconductor, inc frdm - kl46z page 2 of 17 table of contents 1 frdm - kl46z overview ................................ ................................ ................................ ......................... 3 2 references documents ................................ ................................ ................................ .......................... 3 3 getting started ................................ ................................ ................................ ................................ .......... 3 4 frdm - kl46z hardware overview ................................ ................................ ................................ .... 4 5 frdm - kl46z hardware description ................................ ................................ ................................ 7 5.1.1 power supply ................................ ................................ ................................ ................................ ................................ ....................... 7 5.1.2 serial and debug adapter (opensda) ................................ ................................ ................................ ................................ ...... 9 5.1.3 clock source ................................ ................................ ................................ ................................ ................................ ....................... 12 5.1.4 usb inte rface ................................ ................................ ................................ ................................ ................................ ..................... 12 5.1.5 serial port ................................ ................................ ................................ ................................ ................................ ........................... 12 5.1.6 reset ................................ ................................ ................................ ................................ ................................ ................................ ...... 12 5.1.7 debug ................................ ................................ ................................ ................................ ................................ ................................ .... 12 5.1.8 segment lcd ................................ ................................ ................................ ................................ ................................ ..................... 12 5.1.9 capacitive touch slider ................................ ................................ ................................ ................................ ................................ 13 5.1.10 three - axis accelerometer ................................ ................................ ................................ ................................ ........................ 13 5.1.11 three - axis digital magnetometer ................................ ................................ ................................ ................................ .......... 14 5.1.12 leds ................................ ................................ ................................ ................................ ................................ ................................ .... 14 5.1.13 visible light sensor ................................ ................................ ................................ ................................ ................................ ....... 15 5.1.14 input/output connectors ................................ ................................ ................................ ................................ ......................... 16 5.1.15 arduino compatibility ................................ ................................ ................................ ................................ ................................ 17
freescale semiconductor, inc frdm - kl46z page 3 of 17 1 frdm - kl46z overview the freescale freedom development platform is a set of software and hardware tools for evaluation and development. it is ideal for rapid prototyping of microcontroller - based applications. the freescale freedom kl46z hardware , frdm - kl46z , is a simple, yet s ophisticated design featuring a kinetis l series microcontroller , built on the arm? cortex? - m0+ core. frdm - kl46z can be used to evaluate the kl46, kl36 , kl26 and k l16 kinetis l series devices. it features a m kl46z256vll4 , this device boasting a max operating frequency of 48 mhz, 256k b of flash , 32kb ram , a full - speed usb controller, segment lcd controller, and loads of analog and digital peripherals. the frdm - kl46z hardware is form - factor compatible with the arduino? r3 pin layo ut, providing a broad range of expansion board options. the on - board interfaces include s a 4 digit segment lcd , a 3 - axis digital accelerometer , magnetometer , capacitive touch slider , and ambient light sensor . the frdm - kl46z feature s the freescale open st andard embedded serial and debug adapter known as opensda. this circuit offers several options for serial communications, flash programming and run - control debugging. 2 references documents the table below provides a list of reference documents for the frdm - kl46z hardware. all of these documents are available online at www.freescale.com/ frdm - k l46z . table 1. frdm - kl46z reference documents filename description frdm - kl46z quick start package quick start guide and supporting files for getting started with the frdm - kl46z . frdm - kl46z users manual this document overview and detailed information for the frdm - kl46z hardware. frdm - kl46z pinouts spreadsheet of pin connections for all mcu pins. includes pinout for the i/o headers, arduino r3 compatibility chart, and opensda mcu pinout. frdm - kl46z sc hematics pdf schematics for the frdm - kl46z hardware frdm - kl46z design package zip file containing all design source files for the frdm - kl46z hardware opensda users guide overview and instructions for use of the opensda embedded 3 getting started refer to the frdm - kl46z quick start package for step - by - step instructions for getting started with the frdm - kl46z . see the jump start your design section on http://www.freescale.com/frdm - kl46z for the quick start package and software lab guides.
freescale semiconductor, inc frdm - kl46z page 4 of 17 4 frdm - kl46z hardwar e overview the features of the frdm - kl46z include> ? m k l46z256vllz4 mcu ( 48 mhz, 256 kb flash , 32 kb ram, low power , 100 lqfp package ) ? dual role usb interface with mini - b usb connector ? open sda ? 4 digit segment lcd module ? capacitive touch slider ? ambient light sensor ? mma8451q accelerometer ? mag3110 magnetometer ? 2 user leds ? 2 user push buttons ? flexible power supply options C usb, coin cell battery, external source ? battery - ready, power - measurement access points ? easy access to mcu i/o via arduino ? r3 compatible i/o connectors ? programmable opensda debug interface with multiple applications available including: o mass storage device flash programming interface o p&e de bug interface provides run - control debugging and compatibility with ide tools o cmsis - dap interface: new arm standard for embedded debug interface o data logging application ? arduino r3 compatibility figure 1 shows a block diagram of the frdm - kl46z design. the primary components and their placement on the hardware assembly are pointed out in figure 2.
freescale semiconductor, inc frdm - kl46z page 5 of 17 figure 1. frdm - kl46z block diagram
freescale semiconductor, inc frdm - kl46z page 6 of 17 figure 2. frdm - kl46z main components placement .
freescale semiconductor, inc frdm - kl46z page 7 of 17 5 frdm - kl46z hardware description 5.1.1 power supply there are multiple power supply options on the frdm - kl46z . it can be powered from either of the usb connectors, the v in pin on the i/o header, an on - board coin cell battery, or an off - board 1.71 - 3.6v supply from the 3.3v pin on the i/o header. the usb and v in supplies are regulated on - board using a 3.3v linear regulator to produce the main power supply. the other two sources are not regulated on - board. table 2 provides the operational details and requirements for the power supplies. table 2. frdm - kl46 powe r requirements supply source valid range opensda operational? regulated on - board? opensda usb 5v yes yes k20 usb 5v no yes v in pin 4.3 - 9v no yes 3.3v pin 1.71 - 3.6v no no coin cell battery 1.71 - 3.6v no no note that the opensda circuit is only operational when a usb cable is connected and supplying power to opensda usb. however, protection circuitry is in place to allow multiple sources to be powered at once. figure 3 - power supply schematic
freescale semiconductor, inc frdm - kl46z page 8 of 17 table 3. frdm - kl46z power supplies power supply name description p5 - 9v_vin power supplied from the v in pin of the i/o headers (j9 pin 16). a schottky diode provides back drive protection. p5v_sda power supplied from the opensda usb connector a schottky diode provides back drive protection. p5v_kl46z power supplied from the kl46z usb connector a schottky diode provides back drive protection. p3v3_vreg regulated 3.3v supply . sources power to the p3v3 supply rail through a back drive protection schottky diode. 1 p3v3_batt coin cell battery supply voltage. sources power to the p3v3 supply rail through a back drive protection schottky diode. p3v3 main supply rail for frdm - kl46z assembly. may be sourced from p3v3_vreg, p3v3_batt, or directly from the i/o headers (j9 pin 8) p3v3_kl46z kl46z mcu supply. header j17 provides a convenient means for energy consumption measurements. 2 p3v3_sda opensda circuit supply. header j9 provides a convenient means for energy consumption measurements. 2 p5v_usb nominal 5v supplied to the i/o headers (j3 pin 10). sourced from either the p5v_k20d50m or p5v_osda supply through a back drive protection schot tky diode. notes: 1) by default the linear regulator, u1, is a 3.3v output regulator. however, this is a common footprint that would allow the user to modify the assembly to utilize an alternative device such as a 1.8v or 2.5v regulator. the k l46 microcontroller has an operating range of 1.71v to 3.6v 2) j 17 and j 9 are not populated by default. the two pins of these headers are shorted together by a trace on the bottom layer of the pcb. to measure the energy consumption of either the k l46 or the open sda mcu, the trace between these pins must first be cut. a current probe or a shunt resistor and voltage meter can then be applied to measure the energy consumption on these rails.
freescale semiconductor, inc frdm - kl46z page 9 of 17 5.1.2 serial and debug adapter (opensda) opensda is an open - standard serial and d ebug adapter. it bridges serial and debug communications between a usb host and an embedded target processor as shown in figure 4. the hardware circuit is based on a freescale kinetis k20 family microcontroller (mcu) with 128 kb of embedded flash and an in tegrated usb controller. opensda features a mass storage device (msd) bootloader, which provides a quick and easy mechanism for loading different opensda applications such as flash programmers, run - control debug interfaces, serial - to - usb converters, and mo re. refer to the opensda users guide for more details. figure 4. opensda high - level block diagram opensda is managed by a kinetis k20 mcu built on the arm? cortex? - m4 core. the opensda circuit includes a status led (d 8 ) and a pushbutton (sw 2 ). the pus hbutton asserts the reset signal to the kl46 target mcu. it can also be used to place the opensda circuit into bootloader mode. spi and gpio signals provide an interface to either the swd debug port of the k20 . additionally, signal connections are available to implement a uart serial channel. the opensda circuit receives power when the usb connector j13 is plugged into a usb host. debug interface signals with spi and gpio capability are used to connect directly to the swd of the kl46 . these signal s are also brought out to a standard 10 - pin (0.05) cortex debug connector (j 11 ). it is possible to isolate the k l46 mcu from the opensda circuit and use j 11 to connect to an off - board mcu. to accomplish this, cut the trace on the bottom side of the pcb th at connects j1 8 pin 2 to j11 pin 2. this will disconnect the swd_clk pin to the k l46 so that it will not interfere with the communications to an off - board mcu connected to j11 .
freescale semiconductor, inc frdm - kl46z page 10 of 17 figure 5 swd debug connector note that j 11 is not - populated by default. a samtec ftsh - 105 - 02 - f - d or compatible connector can be added to the j 11 through - hole connector. a mating cable, such as a samtec ffsd idc cable, can then be used to connect from the opensda of the frdm - kl46z to an off - board swd connector. virtual serial po rt a serial port connection is available between the opensda mcu and pins pta1 and pta2 of the kl46 . several of the default opensda applications provided by freescale, including the msd flash programmer and the p&e debug application, provide a usb communi cations device class (cdc) interface that bridges serial communications between the usb host and this serial interface on the k20 . 5.3 mkl46z4 microcont roller the target microcontroller of the frdm - kl46z is the kl462z256vll4, a kinetis l series device in an 100 lqfp package. the kl46z mcu features include: . ? 32 - bit arm cortex - m0+ core o up to 48 mhz operation o single - cycle fast i/o access port
freescale semiconductor, inc frdm - kl46z page 11 of 17 ? memories ? 256 kb flash ? 32 kb sram ? system integration o power management and mode controllers o low - leakage wakeup unit o bit manipulation engine for read - modify - write peripheral operations o direct memory access (dma) controller o computer operating properly (cop) watchdog timer ? clocks o clock generation module with fll and pll for system and cpu clock generation o 4 mhz and 32 khz internal reference clock o system oscillator supporting external crystal or resonator o low - power 1khz rc oscillator for rtc and cop watchdog ? analog peripherals o 16 - bit sar adc w/ dma support o 12 - bit dac w/ dma support o hi gh speed comparator o ? communication peripherals o one integrated interchip sound(i2s) audio interface(sai) o two 8 - bit serial peripheral interfaces (spi) o usb dual - role controller with built - in fs/ls transceiver o usb voltage regulator o two i 2 c modules o one lo w - power uart and two standard uart modules ? timers o one 6 - channel timer/pwm module o two 2 - channel timer/pwm modules o 2 - channel periodic interrupt timer (pit) o real time clock (rtc) o low - power timer (lpt) o system tick timer ? human - machine interfaces (hmi) o segment lcd controller. max imum segment is 8x47 or 4x51. o general purpose input/output controller o capacitive touch sense input interface hardware module
freescale semiconductor, inc frdm - kl46z page 12 of 17 5.1.3 clock source the kinetis kl46 microcontrollers feature an on - chip oscillator compatible with three ranges of input crystal or resonator frequencies: 32 - 40 khz (low freq. mode), 3 - 8 mhz (high freq. mode, low range) and 8 - 32 mhz (high freq. mode, high range). the kl 46 z 256 on the frdm - kl 46 z is clocked from an 8 mhz crystal. . 5.1.4 usb interface the kinetis k l46 microcontrollers feature a dual - role usb controller with on - chip full - speed and low - speed transceivers. the usb interface on the frdm - kl46z is configured as a full - speed usb device. vregin must be powered to enable the internal circuitry of usb (by jumper j7) 5.1.5 serial port the primary serial port interface signals are pt a1 uart0 rx and pt a2 uart0_tx . these signals are connected the opensda 5.1.6 reset the reset signal on the k20 is connected externally to a pushbutton, sw 2 , and also to the opensda circuit. the reset button can be used to force an external reset event in the target mcu. the reset button can also be used to force the opensda circuit into bootloader mode. please refer to section 5.2, serial and debug adapter (o pensda), for more details. 5.1.7 debug the sole debug interface on all kinetis l series devices is a serial wire debug (swd) port. the primary controller of this interface on the frdm - kl46z is the onboard opensda circuit (see section 5.2). however, an unpopula ted 10 - pin (0.05) cortex debug connector, j 11 , provides access to the swd signals. the samtec ftsh - 105 - 02 - f - d or compatible connectors can be added to the j 11 through - hole debug connector to allow for an external debug cable to be connected. 5.1.8 segment lcd
freescale semiconductor, inc frdm - kl46z page 13 of 17 frdm - kl46z is using a 4 digit display (lumex lcd - s401m16kr ) 4x8 segments . following table shows connection from kl46 to s401 display. table 4. slcd connections s401 pin kl46 lcd pi n 1 lcd_p40 (com0) 2 lcd_p52 (com1) 3 lcd_p19 (com2) 4 lcd_p18 (com3) 5 lcd_p37 6 lcd_p17 7 lcd_p7 8 lcd_p8 9 lcd_p53 10 lcd_p38 11 lcd_p10 12 lcd_p11 figure 6 s401 segment s layout 5.1.9 capacitive touch slider two touch sense input (tsi) signals, tsi0_ch 9 /ptb1 6 , and tsi0_ch 10 /ptb1 7 are connected to capacitive electrodes configured as a touch slider. freescales touch sense software (tss) provides a software library for implementing the capacitive touch slider. 5.1.10 t hree - axis accelerometer a freescale mma8451q low - power, three - axis acce lerometer is interfaced through an i 2 c bus and two gpio signals as shown in table 5 below. by default, the i 2 c address is 0x1d (sa0 pulled high). table 5 . accelerometer signal connections mma8451q kl46 scl pte25/tpm0_ch1 /i2c0_sda sda pte24/tpm0_ch0/ i2c0_scl int1_accel ptc5/llwu_p9 int2 _accel ptd1 (shared with int2_mag)
freescale semiconductor, inc frdm - kl46z page 14 of 17 5.1.11 three - axis digital magnetometer a freescale mag3110 t hree - axis, digital magnetometer is interfaced through an i 2 c bus , an d one gpio signals as shown in table 6 below table 6 . magnetometer signal connections mag3110 kl46 scl pte25/tpm0_ch1 /i2c0_sda sda pte24/tpm0_ch0/ i2c0_scl int1_mag ptd1 (shared with int2_accel) can be isolated removing r50 5.1.12 led s two led, green led is pwm capable, s ignal connect ions are shown in tabl e 7 . table 7 . led signal connections led kl46 red ptd5 green pte29/tpm0_ch2
freescale semiconductor, inc frdm - kl46z page 15 of 17 5.1.13 visible light sensor the frdm - kl46z has a visible light sensor that is connected to adc0_ se3 figure 7 visible light sensor schematic pte22/adc0_dp3/adc0_se3/
freescale semiconductor, inc frdm - kl46z page 16 of 17 5.1.14 input/output connectors the mkl46z256vll4 microcontroller is packaged in a 100 - pin lqfp. some pins are utilized in on - board circuitry, but many are directly connected to one of four i/o headers. the pins on the kl46 microcontroller are named for their general purpose input/output port pin function. for example, the 1 st pin on port a is referred to as pta1. the i/o connector pin names are given the same name as the kl46 pin connected to it, where applicable. fi gure 8 frdm - kl46 pin - out
freescale semiconductor, inc frdm - kl46z page 17 of 17 note that all pinout data is available in spreadsheet format in frdm - kl46z pinouts . see the reference documents section for details. 5.1.15 arduino compatibility the i/o headers on the frdm - kl46z are arranged to allow compatibility with peripheral boards (known as shields) that connect to arduino? and arduino - compatible microcontroller boards. the outer rows of pins (the even numbered pins) on the headers share the same mechanical spacing and plac ement as the i/o headers on the arduino revision 3 (r3) standard.


▲Up To Search▲   

 
Price & Availability of FRDM-KL46Z

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X